const assert = require("assert");
const logController =  require('../../../controller/logController')
describe('测试日志控制器', () => {
    it('should 格式化log文件为对象数组', () => {
     assert.equal(typeof logController.formatToJSON().length,'number','logController.formatToJSON() 返回应该是一个数组中嵌套对象')
    });
});